package cn.gs.controller.streamTest;

import java.math.BigDecimal;

public class Staff {
    private String name;
    private Integer age;
    private BigDecimal bigDecimal;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public BigDecimal getBigDecimal() {
        return bigDecimal;
    }

    public void setBigDecimal(BigDecimal bigDecimal) {
        this.bigDecimal = bigDecimal;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", bigDecimal=" + bigDecimal +
                '}';
    }

    public Staff() {
    }

    public Staff(String name, Integer age, BigDecimal bigDecimal) {
        this.name = name;
        this.age = age;
        this.bigDecimal = bigDecimal;
    }
}
